package com.stormrage.entity.excel;

import java.io.Serializable;

import org.jeecgframework.poi.excel.annotation.Excel;

public class StudentExcel implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = -3658355915066167103L;

	// ------------------------------- Fields -------------------------------

	@Excel(name = "学号")
	private String stuNo;

	@Excel(name = "姓名")
	private String name;

	@Excel(name = "身份证号")
	private String idcard;

	@Excel(name = "用户名")
	private String acct;

	@Excel(name = "密码")
	private String pass;

	// ------------------------------- Fields -------------------------------

	public StudentExcel() {

	}

	// ------------------------------- Fields -------------------------------

	public String getStuNo() {
		return stuNo;
	}

	public void setStuNo(String stuNo) {
		this.stuNo = stuNo;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getAcct() {
		return acct;
	}

	public void setAcct(String acct) {
		this.acct = acct;
	}

	public String getPass() {
		return pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	// ------------------------------- Fields -------------------------------

	public static StudentExcel instance(StudentExcel entity, String pass) {
		entity.setPass(pass);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : stuNo - " + stuNo + " name - " + name + " idcard - " + idcard + " acct - " + acct
				+ " pass - " + pass;
	}

}
